from scrapy.cmdline import execute
import sys
import os

# sys.path.append(os.path.dirname(os.path.abspath(__file__)))
dirpath = os.path.dirname(os.path.abspath(__file__))
os.chdir(dirpath)

execute(['scrapy', 'crawl', 'digikey'])
